package cn.house.entity;

import java.sql.Blob;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuyong
 * @since 2019-03-03
 */
@TableName("ggfs_card_info")
public class CardInfo extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 序号，主键
	 */
	private Integer id;

	/**
	 * 用户id
	 */
	private Integer userId;

	/**
	 * 身份证号
	 */
	private String idCard;

	/**
	 * 身份证号base64编码
	 */
	private Blob cardBase64;

	/**
	 * 创建时间
	 */
	private LocalDateTime createTime;

	/**
	 * 创建人id
	 */
	private Integer createUserId;

	/**
	 * 创建人名称
	 */
	private String createUserName;

	/**
	 * 更新时间
	 */
	private LocalDateTime updateTime;

	/**
	 * 更新人id
	 */
	private String updateUserId;

	/**
	 * 更新人名称
	 */
	private String updateUserName;

	/**
	 * 状态
	 */
	private Integer status;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public Blob getCardBase64() {
		return cardBase64;
	}

	public void setCardBase64(Blob cardBase64) {
		this.cardBase64 = cardBase64;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public Integer getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public LocalDateTime getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(LocalDateTime updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}

	public String getUpdateUserName() {
		return updateUserName;
	}

	public void setUpdateUserName(String updateUserName) {
		this.updateUserName = updateUserName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "CardInfo{" + "id=" + id + ", userId=" + userId + ", idCard=" + idCard + ", cardBase64=" + cardBase64
				+ ", createTime=" + createTime + ", createUserId=" + createUserId + ", createUserName=" + createUserName
				+ ", updateTime=" + updateTime + ", updateUserId=" + updateUserId + ", updateUserName=" + updateUserName
				+ ", status=" + status + "}";
	}
}
